<nav class="breadcrumb" id="pathContainer">
    <i class="Hui-iconfont Hui-iconfont-weizhi"></i>
    <span>您的位置：</span>
    <span>系统配置</span>
    <span class="c-999 en">&gt;</span>
    <span class="c-primary">日志管理</span>
</nav>
<div class="Hui-article" id="memberManage">
    <div class="row cl searchBox">
        <form class="form form-horizontal responsive" id="searchForm" novalidate="novalidate">
            <div class="clearfix">
                <div class="conditionBox col-sm-2">
                    <label for="">起始日期:</label>
                    <input type="text" class="input-text radius pointer" placeholder="请选择起始日期" name="start" id="start" readonly/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">截止日期:</label>
                    <input type="text" class="input-text radius pointer" placeholder="请选择截止日期" name="end" id="end" readonly/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">操作员:</label>
                    <input type="text" class="input-text radius" placeholder="" name='userName'/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">操作描述:</label>
                    <input type="text" class="input-text radius" placeholder="" name="description"/>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">IP地址:</label>
                    <input type="text" class="input-text radius" placeholder="" name="requestIp"/>
                </div>
            </div>
            <div class="clearfix btn-div">
                <input type="button" class="btn btn-primary queryBtn btn-secondary float-left mr-4 mt-10" value="查 询" />
            </div>
        </form>
    </div>
    <!-- 日志管理列表 -->
    <div class="table-scroll">
        <table class="table table-border table-bordered">
            <thead class="text-c row cl table-bgcolor-gary" id="thead">
                <tr>
                    <th>序号</th>
                    <th>操作时间</th>
                    <th>操作员</th>
                    <th>模块</th>
                    <th>操作描述</th>
                    <th>IP地址</th>
                    <th>日志类型</th>
                </tr>
            </thead>
            <tbody class="text-c row cl" id="tbody"></tbody>
        </table>
    </div>
    <div class="page pt-10 clearfix">
        <div class="f-l" style="white-space: nowrap;" id="pageContainer"></div>
        <div class="f-r" id="pageBtn">
            <input type="button" value="首页" class="page-btn" id="firstPage">
            <input type="button" value="上一页" class="page-btn" id="prevPage">
            <input type="button" value="下一页" class="page-btn" id="nextPage">
            <input type="button" value="尾页" class="page-btn" id="lastPage">
        </div>
    </div>
</div>
<!-- 日志管理列表模板 -->
<script id="mainList" type="text/x-handlebars-template">
    \{{#each resultList}}
    <tr>
        <td>\{{Math @index '+' '1'}}</td>
        <td>\{{timestampToDateString addTime}}</td>
        <td>\{{userName}}</td>
        <td>\{{method}}</td>
        <td>\{{description}}</td>
        <td>\{{requestIp}}</td>
        <td>\{{type}}</td>
    </tr>
    \{{/each}}
</script>
<script id="page" type="text/x-handlebars-template">
    <span>共有\{{rowCount}}条记录，</span>
    <label for="ipt2">每页行数：</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageSize">
            <option value="10" selected>10</option>
            <option value="20">20</option>
            <option value="50">50</option>
            <option value="100">100</option>
            <option value="200">200</option>
            <option value="300">300</option>
        </select>
    </span>
    <label for="ipt2">当前第</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageCount">
            \{{#each pageCount}}
            <option value="\{{pageCount}}">\{{pageCount}}</option>
            \{{/each}}
        </select>
    </span>
    <span>页</span>
</script>
<script>
    journalMng()
</script>